<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/layer.jsp" />
<script type="text/javascript">
	$(function() {
		$("#emp").hide();
	});
	function makeTrue() {
		var url = "${path}/ix/useapply/search/add.htm";
		$("#form1").attr("action", url);
		$("#form1").submit();
	}
	function makeCancel() {
		$("#emp").hide();
		$("input[name='search_result'][value='${log.search_result}']").attr(
				"checked", "checked");
		$("#search_content").innerText = "";
	}
	function selfSearch() {
		$("#emp").show();
	}
</script>
</head>
<body>
	<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
	<!-- 内容 -->
	<div>
		<form method="post" action="${path}/ix/useapply/apply/edit.htm"
			id="form1">
			<input name='apply_id' type="hidden" value="${apply._id }" />
			<h2>
				<div>印章使用详情</div>

			</h2>
			<table width="100%" class="lindex">
				<tr>
					<th align="right" style="min-width: 100px;">用印事由</th>
					<td align="left">${apply.reason }</td>
					<th align="right">主送单位</th>
					<td align="left">${apply.company }</td>
				</tr>

				<tr>
					<th align="right">印章仪名称</th>
					<td align="left">${mac.code}</td>

					<th align="right">印章名称</th>
					<td align="left">${seal.name}(${seal.true_code})</td>
				</tr>
				<tr>
					<th align="right">对外用印</th>
					<td align="left">${apply.is_out }</td>
					<th align="right">用印方式</th>
					<td align="left">${apply.use_type }</td>
				</tr>
				<tr>
					<th align="right">用印份数</th>
					<td align="left">${apply.copes }</td>
					<th align="right">盖章数/份</th>
					<td align="left">${apply.num }</td>
				</tr>
				<tr>
					<th align="right">申请人</th>
					<td align="left">${user.uname }</td>
					<th align="right">发起人</th>
					<td align="left">${apply.promoter }</td>
				</tr>
				<tr>
					<th align="right">申请部门</th>
					<td align="left">${apply.apply_department }</td>
					<th align="right">申请时间</th>
					<td align="left">${apply.apply_time }</td>
				</tr>
				<tr>
					<th align="right">申请事由<br />具体描述
					</th>
					<td align="left" colspan="3">${apply.note }</td>
				</tr>
				<tr>
					<th align="right">办公室意见</th>
					<td align="left">${apply.office_opinion }</td>
					<th align="right">行长意见</th>
					<td align="left">${apply.president_opinion }</td>
				</tr>
				<tr>
					<th align="right">主题词</th>
					<td align="left" colspan="3">类别词：${apply.type_name }&nbsp;&nbsp;文种词：${apply.word_name }&nbsp;&nbsp;申请人：${user.uname }
					</td>
				</tr>
				<tr>
					<th align="right">注解</th>
					<td align="left" colspan="3">${apply.other_note }</td>
				</tr>
				<tr>
					<th align="right">用印快照</th>
					<td align="left" colspan="3"><c:forEach items="${list}"
							var="pp">
							<img src='${path}/img/${pp.file_id_f}.htm?mh=300&mw=300' />
							<img src='${path}/img/${pp.file_id_b}.htm?mh=300&mw=300'
								style="margin-left: 20px;" />
							<br />
						</c:forEach></td>
				</tr>
			</table>
			<div class="options">
				<a href="javascript:selfSearch();" class="asave">【用印自查】</a> <a
					href="javascript:goBack();" class="asave">【返回】</a>
			</div>
			<div id="emp" style="height: 400px;position:fixed;left:36%;top:30%;">
				<div class="query">
					<h2>
						<div>用印自查</div>
					</h2>
					<table width="100%" class="listlindex">
						<input name="id" type="hidden" type="text" />
						<tr>
							<th align="right">文件名称：</th>
							<td align="left" colspan="3">用印自查</td>
						</tr>
						<tr>
							<th align="right">审核结果：</th>
							<td align="left" colspan="3"><input name="search_result"
								type="radio" value="正常" checked />正常&nbsp; <input
								name="search_result" type="radio" value="一般问题" />一般问题&nbsp; <input
								name="search_result" type="radio" value="严重问题" />严重问题</td>
						</tr>
						<tr>
							<th align="right">审核结果描述：</th>
							<td align="left" colspan="3"><textarea name="search_content"
									rows="6" cols="50" maxlength="500" id="search_content"></textarea></td>
						</tr>
					</table>
					<div>&nbsp;</div>
					<a href="javascript:makeTrue();">【确定】</a> <a
						href="javascript:makeCancel();">【取消】</a>
				</div>
			</div>
		</form>

	</div>
</body>
</html>
